package com.cens.mall.order.feign;

import com.cens.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("mall-commodity")
public interface CommodityFeignService {
    @GetMapping("/commodity/spuinfo/skuId/{id}")
    R spuInfoBySkuId(@PathVariable Long id);
}
